﻿using System.ComponentModel;

namespace SomethingSpacial.Model
{
    public class EventFeedbackModel : INotifyPropertyChanged
    {
        private int _EventFeedbackID = 0;
        private int _EventID = 1;
        private string _FeedbackType = "question";
        private string _FeedbackContent = "";


        public int EventFeedbackID
        {
            get
            {
                return _EventFeedbackID;
            }
            set
            {
                _EventFeedbackID = value;
                NotifyPropertyChanged("EventFeedbackID");
            }
        }

        public int EventID
        {
            get
            {
                return _EventID;
            }
            set
            {
                _EventID = value;
                NotifyPropertyChanged("EventID");
            }
        }

        public string FeedbackType
        {
            get
            {
                return _FeedbackType;
            }
            set
            {
                _FeedbackType = value;
                NotifyPropertyChanged("FeedbackType");
            }
        }

        public string FeedbackContent
        {
            get
            {
                return _FeedbackContent;
            }
            set
            {
                _FeedbackContent = value;
                NotifyPropertyChanged("FeedbackContent");
            }
        }

   







        #region INotifyPropertyChanged Members
        public event PropertyChangedEventHandler PropertyChanged;
        public void NotifyPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        #endregion
    
    }
}
